<?php
/**
 * User: @lose
 * Date: 2022/7/8
 * Time: 14:41
 */

namespace Frieza\Modules\Photo\Actions;

use Encore\Admin\Actions\RowAction;

class Normal extends RowAction
{
    public $name = '置为正常';

    public function getHandleRoute()
    {
        return admin_url('photo/violation/setNormal');
    }

    public function dialog()
    {
        $this->confirm('确定把图片置为正常?');
    }
}